Brazilian Taxes: IR and IOF
IR (Income Tax)
Based on the number of days invested:
| Days | IR % |
|---|---|
| 0–180 | 22.5% |
| 181–360 | 20% |
| 361–720 | 17.5% |
| 720 | 15% |
You can calculate IR with:
calcIRRate(400); // 17.5%
IOF
Applied to credit card revolving interest.
The library calculates IOF automatically inside the credit card simulator.